-- GENERATED SPELL FOR [Corrupt Minor Manifestation of Water] --


function spell0_5894(pUnit, Event) --@Frost Nova,Self--
pUnit:FullCastSpellOnTarget(122,pUnit)
pUnit:RegisterEvent('Sorts_5894', 8000, 1)
end

function Sorts_5894(pUnit, Event)
local choix_sorts_5894 = math.random(0, 0)
if choix_sorts_5894 == 0 then
pUnit:RegisterEvent('spell0_5894', 1, 1)
end
end

function mob5894_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5894', math.random(1500, 3000), 1)
end

function mob5894_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5894_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5894_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5894, 1, 'mob5894_Action')
RegisterUnitEvent(5894, 2, 'mob5894_Leave')
RegisterUnitEvent(5894, 3, 'mob5894_Kill')
RegisterUnitEvent(5894, 4, 'mob5894_Die')
